.errorView {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--color-background);
  min-height: 100%;

  @media (min-width: 640px) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  @media (min-width: 768px) {
    display: grid;
    place-items: center;
  }
  @media (min-width: 1024px) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.errorViewWrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: max-content;
}

.errorFlex {
  @media (min-width: 640px) {
    display: flex;
  }
}

.errorCode {
  color: var(--color-primary);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;

  @media (min-width: 640px) {
    font-size: 3rem;
    line-height: 1;
  }
}

.errorSm {
  @media (min-width: 640px) {
    margin-left: 1.5rem;
  }
}

.errorBorder {
  @media (min-width: 640px) {
    padding-left: 1.5rem;
    border-left-width: 1px;
    border-color: var(--color-border);
  }
}

.errorMsg {
  color: var(--color-text);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;

  @media (min-width: 640px) {
    font-size: 3rem;
    line-height: 1;
  }
}

.btnWrapper {
  display: flex;
  margin-top: 2.5rem;
  margin-left: 0.75rem;
  margin-left: 0.875rem;
  gap: 1rem;

  @media (min-width: 640px) {
    padding-left: 1.5rem;
    border-left-width: 1px;
    border-color: transparent;
  }
}

.btnGoBack {
  display: inline-flex;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  align-items: center;
  border-radius: 0.375rem;
  border-width: 1px;
  border-color: transparent;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btnSupport {
  display: inline-flex;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  align-items: center;
  border-radius: 0.375rem;
  border-width: 1px;
  border-color: transparent;
}

.subtitle {
  margin-top: 0.25rem;
  color: var(--color-gray-500);
  font-size: 1rem;
  line-height: 1.5rem;
}
